import { DefaultFooter } from '@ant-design/pro-layout';

const Footer: React.FC = () => {
  const defaultMessage = 'Powered by Macrohard小组';

  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'campus official website',
          title: '浙江工业大学之江学院官网',
          href: 'https://www.zzjc.edu.cn/',
          blankTarget: true,
        }
      ]}
    />
  );
};

export default Footer;
